package com.edu.edumanager.bean;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @program: edu-manager
 * @description:
 * @author: Jaime
 * @create: 2021-08-17 14:55
 **/
public class EducourseDes {
    private  Integer id;
    @NotBlank(message = "课程描述不能为空")
    private String des;
    private Date gmtCreate;
    private Date gmtModified;

    @Override
    public String toString() {
        return "EducourseDes{" +
                "id=" + id +
                ", des='" + des + '\'' +
                ", gmtCreated=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}
